// pages/my/my.js
import{
  ajaxFun
  } from"../../utils/ajax"
Page({

  
  data: {
     info:{},
     order:{},
     routine_my_banner:[],
     routine_my_menus:[]
  },
  onLoad(){
    this.getData()
  },
  async getData(){
    let info=await ajaxFun("/user","get");
   let order= await ajaxFun("/order/data","get")
    let {routine_my_banner,routine_my_menus}=await ajaxFun("/menu/user","get")
    this.setData({
      info,
      order,
      routine_my_banner,
      routine_my_menus
    })
  }

})